@echo off
set here=%~dp0
set PIME_HOME="C:\Program Files (x86)\PIME"
set GJWU_USER_DIR=%appdata%\PIME\gjwu
taskkill /f /im PIMELauncher.exe
if not exist %GJWU_USER_DIR%\data mkdir %GJWU_USER_DIR%\data
xcopy data\*.dic user\data\ /s /e /y
del /S /Q %GJWU_USER_DIR%\*.*
xcopy user\*.* %GJWU_USER_DIR%\ /s /e /y
cd /d %PIME_HOME%
start PIMELauncher.exe
cd /d %here%
